import axios from '@/utils/request'




// 第一个方法:
export function getList(params) {
  return axios({
    url: '/nrplgl/findAll',
    method: 'get',
    params
  })
}


export function addWz(data) {
  return axios({
    url: '/nrplgl/addWz',
    method: 'post',
    data
  })
}

export function edit(data) {
  return axios({
    url: '/nrplgl/edit',
    method: 'post',
    data
  })
}

export function deleteById(params) {
  return axios({
    url: '/nrplgl/delete',
    method: 'get',
    params
  })
}

export function delBatch(params) {
  return axios({
    url: '/nrplgl/delBatch',
    method: 'get',
    params
  })
}

export function uploadPicture(data) {
  return axios({
    url: '/nrplgl/upload',
    method: 'post',
    data
  })
}
